<form id="<?php echo ContactUsForm::FORM_NAME; ?>" action="<?php echo url_for('@contact'); ?>" method="POST">
  <h1>Contact Us</h1>
  <div class="content_wrp">
    <?php if ($sf_request->hasParameter('success')) : ?>
    <div class="clear sucess_box radius">
      <p>Thank you for sending us your comments. Our staff will review your comments and contact you if necessary.</p>
    </div>
    <?php else : ?>
      <?php echo include_partial('global/errorsList', array('forms' => array($form), 'global' => $errorCollector)); ?>
    <?php endif ; ?>
    <div class="text_con">
      <p>Supertain welcomes your feedback. If you have any questions or suggestions, simply complete the form below. We will respond to your query as soon as possible.</p>
    </div>

    <h3>Contact form</h3>

    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[ContactUsForm::FIELD_FIRST_NAME]->renderLabel(); ?><span class="important">*</span></label>
        <?php echo $form[ContactUsForm::FIELD_FIRST_NAME]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 1)); ?>
        <p class="info left mb22">What's your first name?</p>

        <label class=" clear"><?php echo $form[ContactUsForm::FIELD_LAST_NAME]->renderLabel(); ?><span class="important">*</span></label>
        <?php echo $form[ContactUsForm::FIELD_LAST_NAME]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 2)); ?>
        <p class="info left">What's your last name?</p>
      </div>
      <div class="frmbox left">
        <label class="left"><?php echo $form[ContactUsForm::FIELD_SUBJECT]->renderLabel(); ?><span class="important">*</span></label>
        <?php echo $form[ContactUsForm::FIELD_SUBJECT]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 5)); ?>
        <p class="info clear">Specify a meaningful subject your inquiry.</p>

        <label class="left"><?php echo $form[ContactUsForm::FIELD_MESSAGE]->renderLabel(); ?><span class="important">*</span></label>
        <?php echo $form[ContactUsForm::FIELD_MESSAGE]->render(array('class' => 'txtfeid_01 left', 'rows' => 6, 'tabindex' => 5, 'style' => 'resize: none;')); ?>
        <p class="info clear">Explain in detail what you are writing about.</p>
      </div>
      
      <div class="frmbox left" style="width:150px; font-size: 12px; margin-top: 25px; margin-left: 0px;">
        <!--<strong>Office Address:</strong><br />
        40 Byron Street,<br />
        North Melbourne,<br />
        VIC, 3051<br />
        Australia<br /><br />
        <strong>PH:</strong> 1300 783 988<br />-->
        <strong>Email:</strong> info@supertain.me
      </div>
    </div>
    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[ContactUsForm::FIELD_EMAIL]->renderLabel(); ?><span class="important">*</span></label>
        <?php echo $form[ContactUsForm::FIELD_EMAIL]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 3)); ?>
        <p class="info left  mb22">Your valid email address so that we reply to you.</p>

        <label class=" clear"><?php echo $form[ContactUsForm::FIELD_PHONE]->renderLabel(); ?></label>
        <?php echo $form[ContactUsForm::FIELD_PHONE]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 4)); ?>
        <p class="info left">In case we need to call you?</p>        </div>

      <div class="frmbox left">
        <label class="clear">Security Check<span class="important">*</span></label>
        <?php echo recaptcha_get_html(sfConfig::get('app_recaptcha_api_key_public'));?>
        <p class="info left">Let's make sure you're a human!</p>
      </div>
    </div>

    <div class="frmbox_fl">
      <div class="clear termcondition">
        <?php echo $form[ContactUsForm::FIELD_COPY_ME]->render(array('tabindex' => 7)); ?> <?php echo $form[ContactUsForm::FIELD_COPY_ME]->renderLabel(); ?>
      </div>
      <div class="clear">
        <input name="" type="submit" value="Submit Enquiry" class="btn blue"/>
      </div>
    </div>
  </div>
  <?php echo $form['_csrf_token']->render(); ?>
</form>